package com.gongye.courseselectionsystem.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gongye.courseselectionsystem.pojo.po.ChooseCourse;
import com.gongye.courseselectionsystem.pojo.po.Student;
import com.gongye.courseselectionsystem.pojo.vo.ChooseCourseStudent;

import java.util.List;

/**
 * @author baorongchuan
 * @Entity com.gongye.courseselectionsystem.domain.ChooseCourse
 */

public interface ChooseCourseMapper extends BaseMapper<ChooseCourse> {
    /**
     * 选课的学生信息
     *
     * @return 选课的学生信息
     */
    List<ChooseCourseStudent> selectChooseCourse();

    /**
     * 查询没有选课的学生
     *
     * @return 返回没有选课的学生信息
     */
    List<Student> getNoChooseCourse();
}
